#include<iostream>
#include"Client.hpp"
using namespace std;

int main()
{
    Client client;
    client.OpenPipeForWrite();

    string message;
    while(true)
    {
        cout<<"please enter";
        getline(cin,message);
        client.SendPipe(message);
    }
    client.ClosePipe();
    return 0;
}